import sys

from PySide6.QtCore import QLocale, QTranslator
from PySide6.QtWidgets import QApplication

from laadsOrderTool.PyLOT import PyLOT


def main():
    app = QApplication(sys.argv)
    translator = QTranslator()
    if translator.load(QLocale(), 'pyLOT', "_", ":/"):
        QApplication.installTranslator(translator)
    w = PyLOT()
    w.show()
    sys.exit(app.exec())


if __name__ == '__main__':
    main()
